package com.liush.fruit.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: liush
 * @CreateTime: 2023-01-04  15:27
 * @Description: 水果类
 */
@Data
@TableName("fruit")
public class Fruit implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    private Integer price;

    private Integer count;

}
